<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>成绩总和</title>
    <script>
        function getSum() {
            var English = 90;
            var Math = 84;
            var gai = 78;
            var web = 100;
            document.write(English + Math + gai + web);
        }
        getSum();
    </script>
</head>
<body>
    
</body>
</html>